pixel cache: Allow growing of cache surface
authorAlexander Larsson <alexl@redhat.com>
Mon, 26 Aug 2013 19:13:05 +0000 (21:13 +0200)
committerAlexander Larsson <alexl@redhat.com>
Mon, 26 Aug 2013 19:17:45 +0000 (21:17 +0200)
commit2d0bdee075edbbdcec9bc945db9c681ff927b002
tree32bce62c5b0dfedd3598c766e0f2adda8f58bb0a
parentd96882bc163ee18969c760f1065ec26a3b5a34c2
pixel cache: Allow growing of cache surface

If the new requested surface size is enough larger than the previous
one (but the old is still larger than the absolute minimum),
reallocate it anyway.

This fixes an issue where the text view initially requested a really
small extra size which was then increased but that didn't "take".
gtk/gtkpixelcache.c